<?php

//variables de acceso a BBDD
// CONNECT TO THE DATABASE
$DB_NAME = 'mapale';
$DB_HOST = 'localhost';
$DB_USER = 'root';
$DB_PASS = '05junio06';

try
{

    $mysqli = new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);

    if ($mysqli->connect_error)
    {
        echo('Connect Error (' . $mysqli->connect_errno . ') '
                . $mysqli->connect_error);
    }
} catch (Exception $e)
{
    echo $e;
}
?>
